package com.six.remark.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.six.core.entity.Remark;
import com.six.core.vo.Result;
import com.six.remark.vo.SearchRemark;

/**
 * ClassName:RemarkService
 * Description:
 * date:2023/2/27 17:11
 *
 * @since JDK 1.8
 */
public interface RemarkService extends IService<Remark> {
    Result findAll(SearchRemark searchRemark,Integer currentPage, Integer pageSize);

    Result findAllRemark(String id, Integer currentPage, Integer pageSize);
    Result findMyRemark(String goodsid,Integer currentPage, Integer pageSize);
    Result deleteById(Integer id);

    Result insertRemark(Remark remark);

    Result update(Remark remark);
}
